﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Zhao.Models.AppletDto
{
    /// <summary>
    /// 场地类型价格信息
    /// 还需要获取当天的信息(需要判断对应的信息场地信息)
    /// </summary>
    public class VenuesFieldsInfo
    {
        public int Id { get; set; }
        /// <summary>
        /// 场地类型名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 场地价格名称
        /// </summary>
        public List<DatePricePair> datePricePairs { get; set; } = new List<DatePricePair>();
    }

    public class DatePricePair
    {
        /// <summary>
        /// 日期数据
        /// </summary>
        public string Date { get; set; }

        /// <summary>
        /// 价格
        /// </summary>
        public decimal Price { get; set; }
    }
}
